#ifndef GEOGRAPH_H
#define GEOGRAPH_H
#include <QVector>
#include <QPair>
#include <limits>
#include <iostream>

class GeoGraph {
public:
    GeoGraph(int numVertices) : adjacencyList(numVertices) {}

    void addEdge(int src, int dist, double weight) {
        adjacencyList[src].append(qMakePair(dist, weight));
    }

    QVector<QPair<int, double>> getAdjacencyList(int vertex) const {
        return adjacencyList[vertex];
    }

    QVector<QVector<QPair<int, double>>> adjacencyList;

private:

};

#endif // GEOGRAPH_H
